/**
 * jims
 */
package com.jims.master.modules.doctor.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.doctor.dao.PregnantNatalcRecordDao;
import com.jims.master.modules.doctor.entity.PregnantNatalcRecord;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 孕妇手册-产后42天体检表Service
 * @author 王志明
 * @version 2017-07-23
 */
@Service
@Transactional(readOnly = true)
public class PregnantNatalcRecordService extends CrudService<PregnantNatalcRecordDao, PregnantNatalcRecord> {

	public PregnantNatalcRecord get(String id) {
		return super.get(id);
	}
	
	public List<PregnantNatalcRecord> findList(PregnantNatalcRecord pregnantNatalcRecord) {
		return super.findList(pregnantNatalcRecord);
	}
	
	public Page<PregnantNatalcRecord> findPage(Page<PregnantNatalcRecord> page, PregnantNatalcRecord pregnantNatalcRecord) {
		return super.findPage(page, pregnantNatalcRecord);
	}
	
	@Transactional(readOnly = false)
	public int save(PregnantNatalcRecord pregnantNatalcRecord) {
		return super.save(pregnantNatalcRecord);
	}
	
	@Transactional(readOnly = false)
	public int delete(PregnantNatalcRecord pregnantNatalcRecord) {
		return super.delete(pregnantNatalcRecord);
	}
	
}